Holds data about a decoded material. More...
Public Member Functions | |
DecodedMaterialData () | |
DecodedMaterialData (const DecodedMaterialData &other) | |
DecodedMaterialData (DecodedMaterialData &&other) | |
~DecodedMaterialData () | |
DecodedMaterialData & | operator= (const DecodedMaterialData &other) |
DecodedMaterialData & | operator= (DecodedMaterialData &&other) |
Public Attributes | |
nkMaths::Vector | _ambientColor |
The ambient color, if any. | |
int | _ambientTextureIndex = -1 |
The ambient texture, as the index within the DecodedTextureData set counterpart. No texture is encoded by -1. | |
nkMaths::Vector | _diffuseColor |
The diffuse color, if any. | |
int | _diffuseTextureIndex = -1 |
The diffuse texture, as the index within the DecodedTextureData set counterpart. No texture is encoded by -1. | |
nkMaths::Vector | _specularColor |
The specular color, if any. | |
int | _specularTextureIndex = -1 |
The specular texture, as the index within the DecodedTextureData set counterpart. No texture is encoded by -1. | |
Holds data about a decoded material.
nkGraphics::DecodedMaterialData::DecodedMaterialData | ( | ) |
Default constructor.
nkGraphics::DecodedMaterialData::DecodedMaterialData | ( | const DecodedMaterialData & | other | ) |
Copy constructor.
other | The data to copy from. |
nkGraphics::DecodedMaterialData::DecodedMaterialData | ( | DecodedMaterialData && | other | ) |
Move constructor.
other | The data to move over. |
nkGraphics::DecodedMaterialData::~DecodedMaterialData | ( | ) |
Destructor.
DecodedMaterialData& nkGraphics::DecodedMaterialData::operator= | ( | const DecodedMaterialData & | other | ) |
Assignment copy operator.
other | The data to copy from. |
DecodedMaterialData& nkGraphics::DecodedMaterialData::operator= | ( | DecodedMaterialData && | other | ) |
Assignment move operator.
other | The data to move over. |